package web;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/index")
public class IndexServlet extends BaseServlet {

        public void index(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {

            //请求转发到/jsp/index.jsp
            request.getRequestDispatcher("/jsp/index.jsp").forward(request,response);
        }

}
